(function (a2dmah5) {
    a2dmah5.addExpandPage(0, function (get) {
        return {
            setRowDataProperties({ view, data }) {
                view.properties.forEach(p => {
                    if (p.name === 'Num') {
                        if (data.BalanceNum > 0) {
                            p.maxValue = data.BalanceNum;
                            p.minValue = 0;
                        }
                        else {
                            p.minValue = data.BalanceNum;
                            p.maxValue = 0;
                        }
                    }
                });
            }
        }
    });

})(window.a2dmah5);